package com.blog.entity.vo;

import java.util.Date;
import java.util.List;

public class ArticleVO {

    //    文章编号
    private int articleId;
    //    发表文章的用户编号
    private int userId;
    // 用户姓名
    private String userName;

    //    文章所属分类
    private String categoryName;
    //    文章标题
    private String articleTitle;
    //    文章内容
    private String articleContent;
    //    文章发表的时间
    private Date sendTime;
    //    文章描述
    private String articleInfo;
    //    文章被浏览的次数
    private int articleViewNumber;

    // 评论列表
    List<CommentsVO> commentsList;

    public int getArticleId() {
        return articleId;
    }

    public void setArticleId(int articleId) {
        this.articleId = articleId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getArticleTitle() {
        return articleTitle;
    }

    public void setArticleTitle(String articleTitle) {
        this.articleTitle = articleTitle;
    }

    public String getArticleContent() {
        return articleContent;
    }

    public void setArticleContent(String articleContent) {
        this.articleContent = articleContent;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public String getArticleInfo() {
        return articleInfo;
    }

    public void setArticleInfo(String articleInfo) {
        this.articleInfo = articleInfo;
    }

    public int getArticleViewNumber() {
        return articleViewNumber;
    }

    public void setArticleViewNumber(int articleViewNumber) {
        this.articleViewNumber = articleViewNumber;
    }

    public List<CommentsVO> getCommentsList() {
        return commentsList;
    }

    public void setCommentsList(List<CommentsVO> commentsList) {
        this.commentsList = commentsList;
    }
}
